<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta name="description" content="delicious&#39;">
		<meta name="keywords" content="delicious, bookmarks, social bookmarking">
		
		<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
		<link rel="icon" href="/favicon.ico" type="image/x-icon">
		<link rel="apple-touch-icon-precomposed"
			href="./application/images/apple-touch-icon-precomposed.png" />
	
<?php

// function get_css_file_path()
// {
// 	$css_file_path = "";
// 	$script_name = $_SERVER['SCRIPT_NAME']; //"/index.php"
// 
// 	if(strlen($script_name))
// 	{
// 		$temp = strstr($script_name,".");
// 		
// 		//echo "temp:".$script_name."<br/>";
// 
// 		$file_name = str_replace($temp,"",$script_name);
// 		$file_name = str_replace("/","",$file_name);
// 		
// 		$css_file_path = "./application/css/".$file_name.".css";	
// 	}
// 	
// 	return $css_file_path;
// }			

//echo $css_file_path;

if(isset($js_file_path)&&strlen($js_file_path))
{
	echo '<script type="text/javascript" src="'.$js_file_path.'"></script>';
}

if(isset($css_file_path) && strlen($css_file_path))
{	
	echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$css_file_path."\"/>";
}

if(isset($title) && strlen($title))
	echo "<title>".$title."</title>"

?>
	
</head>
<body>
	